package com.xiaoxi.exam.bean.errorcode;

import cn.xinzhili.xutils.core.Code;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OrderErrorCode implements Code {

  NO_DISCOUNT(800, "没有优惠券"),
  ORDER_NOT_FOUND(801, "未发现订单"),
  VERIFY_CODE_ERROR(802, "验证码错误"),
  PRE_ORDER_ERROR(803, "支付失败");

  private int code;
  private String description;
}
